CC = gcc
CFLAGS += -c -Wall -g

all: singlyLinkedList

singlyLinkedList: singlyLinkedList.o sglLkdListBscOps.o
	$(CC) $^ -o $@

sglLkdListBscOps.o: sglLkdListBscOps.c
	$(CC) $^ $(CFLAGS) -o $@

singlyLinkedList.o: singlyLinkedList.c
	$(CC) $^ $(CFLAGS) -o $@

clean:
	$(RM) -r *.o singlyLinkedList